package com.market.annotation;

import com.market.factory.DefaultLogicFactory;

import javax.tools.Diagnostic;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 策略自定义枚举
 */

    @Target({ElementType.TYPE})
    @Retention(RetentionPolicy.RUNTIME)
    public @interface LogicStrategy {

        DefaultLogicFactory.LogicModel logicMode();

    }


